libxl: check whether vcpu affinity and vnuma info match
authorDario Faggioli <dario.faggioli@citrix.com>
Thu, 26 Mar 2015 08:54:48 +0000 (09:54 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 31 Mar 2015 15:53:37 +0000 (16:53 +0100)
commit85ac66d58be44afa0eda8328e6f40906648ae382
treebf34b22aaff3893bda9fa20a908d3448fd1a7c8c
parente502f628437e6bd156b7d57b203276f9db5a13b6
libxl: check whether vcpu affinity and vnuma info match

More specifically, vcpus are assigned to a vnode, which in
turn is associated with a pnode. If a vcpu also has, in its
(hard or soft) affinity, some pcpus that are not part of the
said pnode, print a warning to the user.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_vnuma.c